Support text overlays for thingatpt provider helpers
authorJim Porter <jporterbugs@gmail.com>
Mon, 20 May 2024 19:45:13 +0000 (12:45 -0700)
committerJim Porter <jporterbugs@gmail.com>
Mon, 20 May 2024 20:24:11 +0000 (13:24 -0700)
commit77ece5709a1d38df8cec33432e77044c308b1d6b
treebf4ddbdf2a1c3a50e62b5b4f2d3f1271a6a370b4
parentf6c60f16a231802104f53f3953b7fdc363944316
Support text overlays for thingatpt provider helpers

* lisp/thingatpt.el (thing-at-point-for-text-property)
(forward-thing-for-text-property)
(bounds-of-thing-at-point-for-text-property): Rename to...
(thing-at-point-for-char-property)
(forward-thing-for-char-property)
(bounds-of-thing-at-point-for-char-property): ... and add overlay
support.  Update callers.

* test/lisp/thingatpt-tests.el (thing-at-point-providers)
(forward-thing-providers, bounds-of-thing-at-point-providers): Test
overlays too.

* test/lisp/progmodes/bug-reference-tests.el (test-thing-at-point): Test
'bounds-of-thing-at-point' and 'forward-point'.

* etc/NEWS: Update function names in announcement.
etc/NEWS
lisp/net/eww.el
lisp/progmodes/bug-reference.el
lisp/thingatpt.el
test/lisp/progmodes/bug-reference-tests.el
test/lisp/thingatpt-tests.el